GBML manual / Constants

SHAPE_78_CEILING_DOWN_RIGHT_1

A 78.75 degree slope: ceiling falling to the right, piece 1 of 4 (steeper than 45 degrees: a wall that is slid down).

Syntax

SHAPE_78_CEILING_DOWN_RIGHT_1: constant

Description

A 78.75 degree slope: ceiling falling to the right. It is the number 45. It is piece 1 of 4 of the slope: the pieces go one above the other, piece 1 on top, and each carries on the line of the one above it. Piece 1 has the least solid. A slope steeper than 45 degrees cannot be walked up: it is a wall with a slanted face that a walker slides down. It is the 11.25 degree slope turned a quarter turn. The Slopes page ("Steep slopes") shows how the shapes join.

......##
......##
......##
......##
.......#
.......#
.......#
.......#

In the picture, the characters # are solid pixels and the dots are open ones.

Example

tile_set_shape(x, y + 8, SHAPE_78_CEILING_DOWN_RIGHT_1);

Gives the square just under the walker this slope.

See also: tile_shapetile_set_shapeSlopesSHAPE_78_CEILING_DOWN_RIGHT_2SHAPE_78_CEILING_DOWN_RIGHT_3SHAPE_78_CEILING_DOWN_RIGHT_4